package com.zsl.casuallyheart.dao;

/**
 * 程序的单元程序
 * 
 * @author zsl
 * @date 2014-10-5下午6:58:37
 * @version v1.0
 */
public class AppDao {
	// 登录测试
	public boolean login(String name, String pwd) {
		if (name.equals("zsl1") && pwd.equals("123")) {
			return true;
		}
		return false;
	}

	// 登录注册
	public boolean register(String name, String pwd,String repwd) {
		if (name.equals("zsl1") && pwd.equals("123")&&pwd.equals(repwd)) {
			return true;
		}
		return false;
	}
	
	

}
